<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link rel="stylesheet" href="css/common.css" type="text/css" />
		<title>无标题文档</title>
		<link rel="stylesheet"
			href="<%=request.getContextPath()%>/css/common.css" type="text/css" />

		<script type='text/javascript'
			src='<%=request.getContextPath()%>/dwr/interface/studentAction.js'></script>
		<script type='text/javascript'
			src='<%=request.getContextPath()%>/dwr/engine.js'></script>
		<script type='text/javascript'
			src='<%=request.getContextPath()%>/dwr/util.js'></script>
		<script type='text/javascript'>
function stu_BasicInfo(){
	studentAction.getStudentBasicInfo($('student_info').value,stu_BasicInfoCallback);
}
var stu_BasicInfoCallback = function stu_BasicInfoCallbackFunc(stulist){
	var slist = stulist[0];
	$('stuNo').innerHTML = slist[1];
	$('stuName').innerHTML = slist[2];
	$('stuGender').innerHTML = slist[3];
	$('stuCollege').innerHTML = slist[4];
	$('stuMajor').innerHTML = slist[5];
	$('stuClass').innerHTML = slist[6];
	$('stuDorm').innerHTML = slist[7];
	$('stuPhone').innerHTML = slist[8];
	$('stuPicture').innerHTML = slist[9];
	$('stuImg').src = slist[9];
}
</script>

	</head>

	<body>
		<div id="student_basic_info">
			<div id="student_basic_info_search">
				请输入学号：
				<input name="textfield" type="text" id="student_info" />
				<input type="submit" name="button" id="button" value="搜索"
					onclick="stu_BasicInfo()" />
			</div>
			<div id="student_basic_info_content">
				<div id="stuId" style="display: none">
					1
				</div>
				<table class="table_student_basic_info">
					<tr>
						<td class="st_td_left">
							学&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号：
						</td>
						<td class="st_td_right">
							<div id="stuNo"></div>
						</td>
						<td rowspan="4" colspan="2">
							<div align="center">
								<img id="stuImg" src="images/bigboy.png" width="100"
									height="100" />
							</div>
						</td>
					</tr>
					<tr>
						<td class="st_td_left">
							姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名：
						</td>
						<td class="st_td_right">
							<div id="stuName"></div>
						</td>
					</tr>
					<tr>
						<td class="st_td_left">
							性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别：
						</td>
						<td class="st_td_right">
							<div id="stuGender"></div>
						</td>
					</tr>
					<tr>
						<td class="st_td_left">
							学&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;院：
						</td>
						<td class="st_td_right">
							<div id="stuCollege"></div>
						</td>
					</tr>
					<tr>
						<td class="st_td_left">
							专&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;业：
						</td>
						<td class="st_td_right">
							<div id="stuMajor"></div>
						</td>
						<td class="st_td_left">
							班&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;级：
						</td>
						<td class="st_td_right">
							<div id="stuClass"></div>
						</td>
					</tr>
					<tr>
						<td class="st_td_left">
							所住宿舍：
						</td>
						<td class="st_td_right">
							<div id="stuDorm"></div>
						</td>
						<td class="st_td_left">
							手机号码：
						</td>
						<td class="st_td_right">
							<div id="stuPhone"></div>
						</td>
					</tr>
					<tr class="table_submit">
						<td colspan="6"></td>
					</tr>
				</table>
			</div>
		</div>
	</body>
</html>
